﻿@if (Request.IsAuthenticated)
{
    Html.ActionLink("Выход", "LogOff", "Account");
}
else
{
    <a href="#" onclick="logonVisible()">Вход</a>
    <div id="logon">
        @Html.Partial("LogOn")
    </div>
}
